package rpc.frame.server.boot;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;

@Configuration
public class FrameServerBootStrap {

    @Resource
    private FrameServerRunner frameServerRunner;

    @PostConstruct
    public void init() {
        frameServerRunner.run();
    }
}
